package com.lft.freshordering.entity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.util.List;

import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author tyhxzy
 * @since 2024-12-02
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class
Stypes implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 商品类型 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 类型
     */
    private String tname;

    /**
     * 排序
     */
    private Integer num;


    @TableField(exist = false)
    private List<Goods> goods;

    @TableField(exist = false)
    private Integer id2;
    @TableField(exist = false)
    private Integer num2;


}
